home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tel2305s.zip / TELNET.KEY < prev    next >
Text File  |  1992-04-09  |  4KB  |  95 lines

  1. ; Default keyboard mapping for NCSA Telnet
  2. ;    Emulates a vt100 keyboard
  3.  
  4. ; Definitions for vt100 function keys
  5. set key \315    \Kpf1        ; F1 = vt100 function key 1
  6. set key \316    \Kpf2        ; F2 = vt100 function key 2
  7. set key \317    \Kpf3        ; F3 = vt100 function key 3
  8. set key \318    \Kpf4        ; F4 = vt100 function key 4
  9.  
  10. ; Definitions for vt100 cursor keys
  11. set key \4424    \Kuparr        ; grey up arrow for vt100 uparrow
  12. set key \1421    \Kuparr        ; ctrl-keypad up arrow for vt100 uparrow also
  13. set key \4432    \Kdnarr        ; grey down arrow for vt100 downarrow
  14. set key \1425    \Kdnarr        ; ctrl-keypad down arrow for vt100 downarrow also
  15. set key \4427    \Klfarr        ; grey left arrow for vt100 leftarrow
  16. set key \1395    \Klfarr        ; ctrl-keypad left arrow for vt100 leftarrow also
  17. set key \4429    \Krtarr        ; grey right arrow for vt100 rightarrow
  18. set key \1396    \Krtarr        ; ctrl-keypad right arrow for vt100 rightarrow also
  19.  
  20. ; Definitions for vt100 keypad keys
  21. set key \339    \Kkpdot        ; map . on keypad to vt100 keypad .
  22. set key \330    \Kkpminus    ; map - on keypad to vt100 keypad -
  23. set key \334    \Kkpcoma    ; map + on keypad to vt100 keypad ,
  24. set key \4365    \Kkpenter    ; map enter on keypad to vt100 keypad enter
  25. set key \338    \Kkp0        ; map 0 on keypad to vt100 keypad 0
  26. set key \335    \Kkp1        ; map 1 on keypad to vt100 keypad 1
  27. set key \336    \Kkp2        ; map 2 on keypad to vt100 keypad 2
  28. set key \337    \Kkp3        ; map 3 on keypad to vt100 keypad 3
  29. set key \331    \Kkp4        ; map 4 on keypad to vt100 keypad 4
  30. set key \332    \Kkp5        ; map 5 on keypad to vt100 keypad 5
  31. set key \333    \Kkp6        ; map 6 on keypad to vt100 keypad 6
  32. set key \327    \Kkp7        ; map 7 on keypad to vt100 keypad 7
  33. set key \328    \Kkp8        ; map 8 on keypad to vt100 keypad 8
  34. set key \329    \Kkp9        ; map 9 on keypad to vt100 keypad 9
  35.  
  36. ; Definitions for keypad keys with NumLock on
  37. set key \851    .        ; map the . key on the numeric keypad to . with Numlock
  38. set key \850    0        ; map the 0 key on the numeric keypad to 0 with Numlock
  39. set key \847    1        ; map the 1 key on the numeric keypad to 1 with Numlock
  40. set key \848    2        ; map the 2 key on the numeric keypad to 2 with Numlock
  41. set key \849    3        ; map the 3 key on the numeric keypad to 3 with Numlock
  42. set key \843    4        ; map the 4 key on the numeric keypad to 4 with Numlock
  43. set key \844    5        ; map the 5 key on the numeric keypad to 5 with Numlock
  44. set key \845    6        ; map the 6 key on the numeric keypad to 6 with Numlock
  45. set key \839    7        ; map the 7 key on the numeric keypad to 7 with Numlock
  46. set key \840    8        ; map the 8 key on the numeric keypad to 8 with Numlock
  47. set key \841    9        ; map the 9 key on the numeric keypad to 9 with Numlock
  48.  
  49. ; Further Settings to try to mimic a vt240 terminal
  50. ; vt220 function keys
  51. set key \319    \27m    ; F5 = vt220 f5
  52. set key \320    \27[17~    ; F6 = vt220 f6
  53. set key \321    \27[18~    ; F7 = vt220 f7
  54. set key \322    \27[19~    ; F8 = vt220 f8
  55. set key \323    \27[20~    ; F9 = vt220 f9
  56. set key \324    \27[21~    ; F10 = vt220 f10
  57. set key \389    \27[23~    ; F11 = vt220 f11
  58. set key \390    \27[24~    ; F12 = vt220 f12
  59. set key \2408    \27[23~    ; Alt f1 = vt220 f11
  60. set key \2409    \27[24~    ; Alt f2 = vt220 f12
  61. set key \2410    \27[25~    ; Alt f3 = vt220 f13
  62. set key \2411    \27[26~    ; Alt f4 = vt220 f14
  63. set key \2412    \27[28~    ; Alt f5 = vt220 f15
  64. set key \2413    \27[29~    ; Alt f6 = vt220 f16
  65. set key \2414    \27[31~    ; Alt f7 = vt220 f17
  66. set key \2415    \27[32~    ; Alt f8 = vt220 f18
  67. set key \2416    \27[33~    ; Alt f9 = vt220 f19
  68. set key \2417    \27[34~    ; Alt f10 = vt220 f20
  69.  
  70. ; Set the Enhanced keypad keys to generate other vt220 strings
  71. set key \4423   \27[1~  ; Enhanced Home = vt220 Find key
  72. set key \4434   \27[2~  ; Enhanced Insert = vt220 Insert key
  73. set key \4435    \27[3~    ; Enhanced Delete = vt220 Delete key
  74. set key \4431   \27[4~  ; Enhanced End  = vt220 Select key
  75. set key \4425    \27[5~    ; Enhanced PgUp = vt220 Prev Screen key
  76. set key \4433    \27[6~    ; Enhanced PgDn = vt220 Next Screen key
  77.  
  78. ; map the alt-numbers to useful strings
  79. set key \2424    \27Op    ; map Alt-1
  80. set key \2425    \27Oq    ; map Alt-2
  81. set key \2426    \27Or    ; map Alt-3
  82. set key \2427    \27Os    ; map Alt-4
  83. set key \2428    \27Ot    ; map Alt-5
  84. set key \2429    \27Ou    ; map Alt-6
  85. set key \2430    \27Ov    ; map Alt-7
  86. set key \2431    \27Ow    ; map Alt-8
  87. set key \2432    \27Ox    ; map Alt-9
  88. set key \2433    \27Oy    ; map Alt-0
  89.  
  90. ; Other keys on keyboard
  91. set key \271    \9      ; Tab = ctrl-i
  92. set key \4399    /        ; keypad / sends /
  93. set key \311    *        ; keypad * sends *
  94.  
  95.